package com.xjtu.chapter04.ex4_4;

/**
 * @author yjq
 * @version 1.0
 * @date 2021/8/14 21:36
 */
public class TestAbstract {
    public static void main(String[] args) {
        Circle circle = new Circle(3);
        Rectangle rectangle = new Rectangle(2,5);
        System.out.println(circle.area());
        System.out.println(rectangle.area());
    }
}
